package cn.chengpengper.im.common.domain.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/*@formatter:off*/

/**
 * ____________________
 * < 神兽护体，永无bug! >
 * --------------------
 *
 * @author huchengpeng
 * @version v1.0.0
 * @date 2024/9/8 18:41
 * @description 发送结果
 */

/*@formatter:on*/

@Getter
@AllArgsConstructor
public enum ImSendCode {

    SUCCESS(1, "发送成功"),
    NOT_ONLINE(2, "对方不在线"),
    NOT_FIND_CHANGE(3, "未找到对方的channel"),
    UNKNOWN_ERROR(9999, "未知错误"),
    ;
    private final Integer code;

    private final String desc;
}
